<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* .box1 {
            height: 309px;
            width: 175px;
            margin: 0 auto;
            background-image: url(./img/run.png);
            animation: run 1s steps(7) infinite;
        }
        
        @keyframes run {
            from {
                background-position: 0 0;
            }
            to {
                background-position: -1225px 0;
            }
        } */
        
        .box1 {
            height: 91px;
            width: 91px;
            margin: 0 auto;
            background-image: url(./img/run-man.jpg);
            animation: run 1s steps(5) infinite;
        }
        
        @keyframes run {
            from {
                background-position: 0 0;
            }
            to {
                background-position: -460px 0;
            }
        }
    </style>
</head>

<body>
    <div class="box1">

    </div>
</body>

</html>